/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package org.cheetah.youbet.obj;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author edoardo
 */
public class XlsSheet {
 
    private List<XlsRow> rows = new ArrayList<XlsRow>();
    
    
    
    private String name;
    
    
    public XlsSheet add(XlsRow row){
        this.rows.add(row);
        return this;
    }
    
    public XlsSheet(String name) {
        this.name=name;
    }

    public List<XlsRow> getRows() {
        return rows;
    }

    public void setRows(List<XlsRow> rows) {
        this.rows = rows;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    
}
